<template>
  <div id="app">
    <!-- 路由组件 渲染出口 -->
    <transition >
      <router-view/>
    </transition>
  </div>
</template>

<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
.v-enter-active{
  transition: all 0.3s;
}
.v-enter{
  opacity: 0;
}
.v-enter-to{
  opacity: 1;
}
a {
  text-decoration: none;
  &.router-link-active {
    color: red;
  }
}

</style>
